<%--
  Created by IntelliJ IDEA.
  User: lc0723
  Date: 2021/4/11
  Time: 12:55
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>淘淘网 - 百货</title>
    <link type="text/css" rel="stylesheet" href="css/style.css" />
    <script type="text/javascript" src="scripts/function.js"></script>
</head>

<body>
<div id="header" class="wrap">

</div>

<div id="main" class="wrap">

    <div id="product" class="main">
        <h1>${pro.tpName}</h1>
        <div class="infos">
            <div class="thumb"><img src="${pro.tpFileName}" /></div>
            <div class="buy">
                <p>商城价：<span class="price">
                    <fmt:formatNumber value="${pro.tpPrice}"
                                      type="currency"/>
                    </span>
                </p>
                <p>库　存：有货</p>

                <%--<div class="button"><input type="button" name="button" value="" onclick="goBuy(1)" /><a
                        href="#">放入购物车</a></div>--%>
            </div>
            <div class="clear"></div>
        </div>
        <div class="introduce">
            <h2><strong>商品详情</strong></h2>
            <div class="text">
                sdf<br />
                sdf<br />
            </div>
        </div>
    </div>
    <div class="clear"></div>
</div>
<div id="footer">
    Copyright &copy;  湖南汽车工程职业学院 	</div>
</body>

</html>